/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: hp
 * Date: 2024-03-01
 * Time: 15:23
 */
public class Cat extends Animal{

    public Cat() {
        super("heihe",1,"黑色");
        System.out.println("cat构造");
    }

    static{
        System.out.println("cat：静态");
    }

    {
        System.out.println("cat:实例化");
    }

    public void miaomiao() {
        System.out.println(this.name + "喵喵喵");
    }

    public static void main(String[] args) {
        Cat cat = new Cat();
        System.out.println("======================");
        Cat cat1 = new Cat();
    }
}
